package com.bm.pojo.disease;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;

/**
 * Created with IntelliJ IDEA.
 * User: sx
 * Date: 2022/2/15
 * Time: 21:01
 * Description: java
 */
@NodeEntity(label = "disease")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Disease {
    @Id
    @GeneratedValue
    private Long id;

    @Property
    private String name;
    @Property
    private String details;
    @Property
    private String label;
}
